<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: coap_dtls_pki_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('structcoap__dtls__pki__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">coap_dtls_pki_t Struct Reference<div class="ingroups"><a class="el" href="group__dtls.html">DTLS Support</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>The structure used for defining the PKI setup data to be used.  
 <a href="structcoap__dtls__pki__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6311e9978d304e0aff143ebffe424ea4" id="r_a6311e9978d304e0aff143ebffe424ea4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a6311e9978d304e0aff143ebffe424ea4">version</a></td></tr>
<tr class="separator:a6311e9978d304e0aff143ebffe424ea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac00e49483212c37c25435f03a6a6cb6" id="r_aac00e49483212c37c25435f03a6a6cb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#aac00e49483212c37c25435f03a6a6cb6">verify_peer_cert</a></td></tr>
<tr class="memdesc:aac00e49483212c37c25435f03a6a6cb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 1 to support this version of the struct.  <br /></td></tr>
<tr class="separator:aac00e49483212c37c25435f03a6a6cb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e82f78f5b4b930eb2cee687adbcb455" id="r_a1e82f78f5b4b930eb2cee687adbcb455"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a1e82f78f5b4b930eb2cee687adbcb455">require_peer_cert</a></td></tr>
<tr class="memdesc:a1e82f78f5b4b930eb2cee687adbcb455"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if peer cert is required  <br /></td></tr>
<tr class="separator:a1e82f78f5b4b930eb2cee687adbcb455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad125a6d4424f2603a9ff9df7338fd312" id="r_ad125a6d4424f2603a9ff9df7338fd312"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#ad125a6d4424f2603a9ff9df7338fd312">allow_self_signed</a></td></tr>
<tr class="memdesc:ad125a6d4424f2603a9ff9df7338fd312"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if self signed certs are allowed  <br /></td></tr>
<tr class="separator:ad125a6d4424f2603a9ff9df7338fd312"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa92df455480e1ce202d48fbac3ee5422" id="r_aa92df455480e1ce202d48fbac3ee5422"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#aa92df455480e1ce202d48fbac3ee5422">allow_expired_certs</a></td></tr>
<tr class="memdesc:aa92df455480e1ce202d48fbac3ee5422"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if expired certs are allowed  <br /></td></tr>
<tr class="separator:aa92df455480e1ce202d48fbac3ee5422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0ebaa3461576eee13f74ea5a362247" id="r_a3f0ebaa3461576eee13f74ea5a362247"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a3f0ebaa3461576eee13f74ea5a362247">cert_chain_validation</a></td></tr>
<tr class="memdesc:a3f0ebaa3461576eee13f74ea5a362247"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if to check cert_chain_verify_depth  <br /></td></tr>
<tr class="separator:a3f0ebaa3461576eee13f74ea5a362247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85209ca6aa358e45b4b065b0c39dd360" id="r_a85209ca6aa358e45b4b065b0c39dd360"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a85209ca6aa358e45b4b065b0c39dd360">cert_chain_verify_depth</a></td></tr>
<tr class="memdesc:a85209ca6aa358e45b4b065b0c39dd360"><td class="mdescLeft">&#160;</td><td class="mdescRight">recommended depth is 3  <br /></td></tr>
<tr class="separator:a85209ca6aa358e45b4b065b0c39dd360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6651ec064838213f18f49c6044cc7b4f" id="r_a6651ec064838213f18f49c6044cc7b4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a6651ec064838213f18f49c6044cc7b4f">check_cert_revocation</a></td></tr>
<tr class="memdesc:a6651ec064838213f18f49c6044cc7b4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if revocation checks wanted  <br /></td></tr>
<tr class="separator:a6651ec064838213f18f49c6044cc7b4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1125f0a08bf12be0a1a0cb63a4f3f2af" id="r_a1125f0a08bf12be0a1a0cb63a4f3f2af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a1125f0a08bf12be0a1a0cb63a4f3f2af">allow_no_crl</a></td></tr>
<tr class="memdesc:a1125f0a08bf12be0a1a0cb63a4f3f2af"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 ignore if CRL not there  <br /></td></tr>
<tr class="separator:a1125f0a08bf12be0a1a0cb63a4f3f2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1ae69b200d26250747f8602af02e990" id="r_ae1ae69b200d26250747f8602af02e990"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#ae1ae69b200d26250747f8602af02e990">allow_expired_crl</a></td></tr>
<tr class="memdesc:ae1ae69b200d26250747f8602af02e990"><td class="mdescLeft">&#160;</td><td class="mdescRight">1 if expired crl is allowed  <br /></td></tr>
<tr class="separator:ae1ae69b200d26250747f8602af02e990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2742585d28821bdf8fe824b117643ac" id="r_ad2742585d28821bdf8fe824b117643ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#ad2742585d28821bdf8fe824b117643ac">reserved</a> [6]</td></tr>
<tr class="memdesc:ad2742585d28821bdf8fe824b117643ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserved - must be set to 0 for future compatibility.  <br /></td></tr>
<tr class="separator:ad2742585d28821bdf8fe824b117643ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae136f22847af5f51ded7b3f19bc538df" id="r_ae136f22847af5f51ded7b3f19bc538df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__dtls.html#gadcb9ad4ab157cf64b6bb31b5f426e5dc">coap_dtls_cn_callback_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#ae136f22847af5f51ded7b3f19bc538df">validate_cn_call_back</a></td></tr>
<tr class="memdesc:ae136f22847af5f51ded7b3f19bc538df"><td class="mdescLeft">&#160;</td><td class="mdescRight">CN check call-back function.  <br /></td></tr>
<tr class="separator:ae136f22847af5f51ded7b3f19bc538df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16fb73f2ceb8aafed7256cdf9ffec8f6" id="r_a16fb73f2ceb8aafed7256cdf9ffec8f6"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a16fb73f2ceb8aafed7256cdf9ffec8f6">cn_call_back_arg</a></td></tr>
<tr class="memdesc:a16fb73f2ceb8aafed7256cdf9ffec8f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Passed in to the CN call-back function.  <br /></td></tr>
<tr class="separator:a16fb73f2ceb8aafed7256cdf9ffec8f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad078b00881086bb7425187f2e7de90ab" id="r_ad078b00881086bb7425187f2e7de90ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__dtls.html#gad7c1c23e78398067ad9eb8bd70333735">coap_dtls_sni_callback_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#ad078b00881086bb7425187f2e7de90ab">validate_sni_call_back</a></td></tr>
<tr class="memdesc:ad078b00881086bb7425187f2e7de90ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">SNI check call-back function.  <br /></td></tr>
<tr class="separator:ad078b00881086bb7425187f2e7de90ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add86314537669f49fca148651fbf842e" id="r_add86314537669f49fca148651fbf842e"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#add86314537669f49fca148651fbf842e">sni_call_back_arg</a></td></tr>
<tr class="memdesc:add86314537669f49fca148651fbf842e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Passed in to the sni call-back function.  <br /></td></tr>
<tr class="separator:add86314537669f49fca148651fbf842e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e4bb23daf38e695b1fa7b7fddd0072d" id="r_a9e4bb23daf38e695b1fa7b7fddd0072d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__dtls.html#gac823bdeb357bded215ac1f84dd47f38f">coap_dtls_security_setup_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#a9e4bb23daf38e695b1fa7b7fddd0072d">additional_tls_setup_call_back</a></td></tr>
<tr class="memdesc:a9e4bb23daf38e695b1fa7b7fddd0072d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Additional Security call-back handler that is invoked when libcoap has done the standerd, defined validation checks at the TLS level, If not <code>NULL</code>, called from within the TLS Client Hello connection setup.  <br /></td></tr>
<tr class="separator:a9e4bb23daf38e695b1fa7b7fddd0072d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcd4a892d8823201b52597b702e70348" id="r_abcd4a892d8823201b52597b702e70348"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#abcd4a892d8823201b52597b702e70348">client_sni</a></td></tr>
<tr class="memdesc:abcd4a892d8823201b52597b702e70348"><td class="mdescLeft">&#160;</td><td class="mdescRight">If not NULL, SNI to use in client TLS setup.  <br /></td></tr>
<tr class="separator:abcd4a892d8823201b52597b702e70348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affa25ec7295abef854ec772cb7a45325" id="r_affa25ec7295abef854ec772cb7a45325"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__dtls__key__t.html">coap_dtls_key_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__dtls__pki__t.html#affa25ec7295abef854ec772cb7a45325">pki_key</a></td></tr>
<tr class="memdesc:affa25ec7295abef854ec772cb7a45325"><td class="mdescLeft">&#160;</td><td class="mdescRight">PKI key definition.  <br /></td></tr>
<tr class="separator:affa25ec7295abef854ec772cb7a45325"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The structure used for defining the PKI setup data to be used. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00191">191</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a9e4bb23daf38e695b1fa7b7fddd0072d" name="a9e4bb23daf38e695b1fa7b7fddd0072d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e4bb23daf38e695b1fa7b7fddd0072d">&#9670;&#160;</a></span>additional_tls_setup_call_back</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__dtls.html#gac823bdeb357bded215ac1f84dd47f38f">coap_dtls_security_setup_t</a> coap_dtls_pki_t::additional_tls_setup_call_back</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Additional Security call-back handler that is invoked when libcoap has done the standerd, defined validation checks at the TLS level, If not <code>NULL</code>, called from within the TLS Client Hello connection setup. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00234">234</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="aa92df455480e1ce202d48fbac3ee5422" name="aa92df455480e1ce202d48fbac3ee5422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa92df455480e1ce202d48fbac3ee5422">&#9670;&#160;</a></span>allow_expired_certs</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::allow_expired_certs</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if expired certs are allowed </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00198">198</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="ae1ae69b200d26250747f8602af02e990" name="ae1ae69b200d26250747f8602af02e990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1ae69b200d26250747f8602af02e990">&#9670;&#160;</a></span>allow_expired_crl</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::allow_expired_crl</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if expired crl is allowed </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00203">203</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a1125f0a08bf12be0a1a0cb63a4f3f2af" name="a1125f0a08bf12be0a1a0cb63a4f3f2af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1125f0a08bf12be0a1a0cb63a4f3f2af">&#9670;&#160;</a></span>allow_no_crl</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::allow_no_crl</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 ignore if CRL not there </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00202">202</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="ad125a6d4424f2603a9ff9df7338fd312" name="ad125a6d4424f2603a9ff9df7338fd312"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad125a6d4424f2603a9ff9df7338fd312">&#9670;&#160;</a></span>allow_self_signed</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::allow_self_signed</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if self signed certs are allowed </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00197">197</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a3f0ebaa3461576eee13f74ea5a362247" name="a3f0ebaa3461576eee13f74ea5a362247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f0ebaa3461576eee13f74ea5a362247">&#9670;&#160;</a></span>cert_chain_validation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::cert_chain_validation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if to check cert_chain_verify_depth </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00199">199</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a85209ca6aa358e45b4b065b0c39dd360" name="a85209ca6aa358e45b4b065b0c39dd360"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85209ca6aa358e45b4b065b0c39dd360">&#9670;&#160;</a></span>cert_chain_verify_depth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::cert_chain_verify_depth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>recommended depth is 3 </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00200">200</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a6651ec064838213f18f49c6044cc7b4f" name="a6651ec064838213f18f49c6044cc7b4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6651ec064838213f18f49c6044cc7b4f">&#9670;&#160;</a></span>check_cert_revocation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::check_cert_revocation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if revocation checks wanted </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00201">201</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="abcd4a892d8823201b52597b702e70348" name="abcd4a892d8823201b52597b702e70348"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcd4a892d8823201b52597b702e70348">&#9670;&#160;</a></span>client_sni</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* coap_dtls_pki_t::client_sni</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If not NULL, SNI to use in client TLS setup. </p>
<p>Owned by the client app and must remain valid during the call to <a class="el" href="coap__session_8c.html#ab3e76db58be0cf8c765b61eaa21f53f0" title="Creates a new client session to the designated server with PKI credentials.">coap_new_client_session_pki()</a> </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00236">236</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a16fb73f2ceb8aafed7256cdf9ffec8f6" name="a16fb73f2ceb8aafed7256cdf9ffec8f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16fb73f2ceb8aafed7256cdf9ffec8f6">&#9670;&#160;</a></span>cn_call_back_arg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_dtls_pki_t::cn_call_back_arg</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Passed in to the CN call-back function. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00219">219</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="affa25ec7295abef854ec772cb7a45325" name="affa25ec7295abef854ec772cb7a45325"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affa25ec7295abef854ec772cb7a45325">&#9670;&#160;</a></span>pki_key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__dtls__key__t.html">coap_dtls_key_t</a> coap_dtls_pki_t::pki_key</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PKI key definition. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00240">240</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a1e82f78f5b4b930eb2cee687adbcb455" name="a1e82f78f5b4b930eb2cee687adbcb455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e82f78f5b4b930eb2cee687adbcb455">&#9670;&#160;</a></span>require_peer_cert</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::require_peer_cert</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>1 if peer cert is required </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00196">196</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="ad2742585d28821bdf8fe824b117643ac" name="ad2742585d28821bdf8fe824b117643ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2742585d28821bdf8fe824b117643ac">&#9670;&#160;</a></span>reserved</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::reserved[6]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reserved - must be set to 0 for future compatibility. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00204">204</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="add86314537669f49fca148651fbf842e" name="add86314537669f49fca148651fbf842e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add86314537669f49fca148651fbf842e">&#9670;&#160;</a></span>sni_call_back_arg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_dtls_pki_t::sni_call_back_arg</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Passed in to the sni call-back function. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00227">227</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="ae136f22847af5f51ded7b3f19bc538df" name="ae136f22847af5f51ded7b3f19bc538df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae136f22847af5f51ded7b3f19bc538df">&#9670;&#160;</a></span>validate_cn_call_back</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__dtls.html#gadcb9ad4ab157cf64b6bb31b5f426e5dc">coap_dtls_cn_callback_t</a> coap_dtls_pki_t::validate_cn_call_back</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CN check call-back function. </p>
<p>If not NULL, is called when the TLS connection has passed the configured TLS options above for the application to verify if the CN is valid. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00218">218</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="ad078b00881086bb7425187f2e7de90ab" name="ad078b00881086bb7425187f2e7de90ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad078b00881086bb7425187f2e7de90ab">&#9670;&#160;</a></span>validate_sni_call_back</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__dtls.html#gad7c1c23e78398067ad9eb8bd70333735">coap_dtls_sni_callback_t</a> coap_dtls_pki_t::validate_sni_call_back</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SNI check call-back function. </p>
<p>If not <code>NULL</code>, called if the SNI is not previously seen and prior to sending a certificate set back to the client so that the appropriate certificate set can be used based on the requesting SNI. </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00226">226</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="aac00e49483212c37c25435f03a6a6cb6" name="aac00e49483212c37c25435f03a6a6cb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac00e49483212c37c25435f03a6a6cb6">&#9670;&#160;</a></span>verify_peer_cert</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::verify_peer_cert</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set to 1 to support this version of the struct. </p>
<p>1 if peer cert is to be verified </p>

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00195">195</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<a id="a6311e9978d304e0aff143ebffe424ea4" name="a6311e9978d304e0aff143ebffe424ea4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6311e9978d304e0aff143ebffe424ea4">&#9670;&#160;</a></span>version</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_dtls_pki_t::version</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__dtls_8h_source.html#l00192">192</a> of file <a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="coap__dtls_8h_source.html">coap_dtls.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structcoap__dtls__pki__t.html">coap_dtls_pki_t</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
